 /* Reset and Base Styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1d1b1b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}


/* nav Styles */
header {
    background-color: #0d1117;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
    border-radius: 0 0 15px 15px;
    position: sticky;
    top: 0;
    z-index: 9;
}

.logo img {
    width: auto;
    height: 39px;
    transition: transform 0.3s ease;
    filter: invert();
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation Styles */
nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #e8e8e8;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 5px;
    position: relative;
    display: block;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #000;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 180px;
    background: #f0f0f0;
    border-radius: 10px;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    overflow: hidden;
    z-index: 10;
    top: 100%;
    left: 0;
    padding: 10px 0;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 12px 20px;
    margin: 0;
}

.dropdown-content a:hover {
    background-color: #e6e6e6;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: #f0f0f0;
    border: none;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
}

.hamburger:active {
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
@media screen and (max-width: 992px) {
    .hamburger {
        display: block;
        z-index: 101;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 270px;
        height: 100vh;
        background-color: #f0f0f0;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 30px;
        transition: right 0.4s ease;
        z-index: 10;
        box-shadow: 
            -8px 0 16px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-links a {
        padding: 10px 0;
        font-size: 18px;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        width: 100%;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        transform: none;
        opacity: 1;
    }
    
    .dropdown.active .dropdown-content {
        max-height: 300px;
        padding: 10px 0;
    }
    
    .dropdown-content a {
        padding-left: 30px;
    }
    
    /* Remove hover effect for mobile */
    .dropdown:hover .dropdown-content {
        display: block;
        max-height: 0;
        opacity: 1;
        transform: none;
        padding: 0;
    }
    
    .dropdown.active:hover .dropdown-content {
        max-height: 300px;
        padding: 10px 0;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media screen and (max-width: 576px) {
    .logo img {
        height: 25px;
    }
    
    header {
        padding: 12px 4%;
    }
}


/* Footer Styles */
footer {
    background-color: #0d1117;
    color: #e8e8e8;
    width: 100%;
    box-shadow: 
        0 -8px 16px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(255, 255, 255, 0.8) inset;
    border-radius: 15px 15px 0 0;
    padding-top: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    gap: 0; /* Removed gap to accommodate dividers */
}

/* Column Styles */
.footer-column {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative; /* For divider positioning */
}

/* Column Dividers */
.footer-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.1) 20%,
        rgba(0, 0, 0, 0.1) 80%,
        transparent
    );
    box-shadow: 1px 0 1px rgba(255, 255, 255, 0.5);
}

/* Updated Quick Links Styles */
.quick-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-links h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
    width: 100%;
    max-width: 400px;
}

.quick-links ul {
    list-style: none;
    width: 100%;
}

/* Update College Logo size */
.college-logo svg {
    width: 150px;
    height: 150px;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column::after {
        display: none; /* Remove dividers in mobile view */
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Horizontal divider for mobile */
    }
    
    .footer-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr); /* Maintain 2 columns in mobile */
    }
}

@media screen and (max-width: 576px) {
    .college-logo svg {
        width: 100px;
        height: 100px;
    }
}

/* Column Styles */
.footer-column {
    flex: 1;
    text-align: center;
    padding: 20px;
}

/* College Info Column */
.college-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.college-logo svg {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.college-names h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

.college-names h4 {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.address, .contact-info {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Quick Links Column */
.quick-links {
    column-count: 2;
    column-gap: 30px;
    text-align: left;
}

.quick-links h3 {
    column-span: all;
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.quick-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #333;
}

.quick-links ul {
    list-style: none;
    break-inside: avoid;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.quick-links a:hover {
    color: #000;
    transform: translateX(3px);
}

.quick-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.quick-links a:hover::after {
    width: 100%;
}

/* Social Media and Contact Column */
.social-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-contact h3 {
    margin-bottom: 10px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.social-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #333;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 300px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 
        6px 6px 10px rgba(0, 0, 0, 0.15),
        -6px -6px 10px rgba(255, 255, 255, 0.9);
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 300px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background: #f0f0f0;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 
        inset 6px 6px 10px rgba(0, 0, 0, 0.1),
        inset -6px -6px 10px rgba(255, 255, 255, 0.8);
}

.contact-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #1b1b1b;
    color: #e8e8e8;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 10px rgba(0, 0, 0, 0.15),
        -6px -6px 10px rgba(255, 255, 255, 0.9);
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #e1e1e1;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(35, 35, 35, 0.7);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .social-icons {
        max-width: 200px;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .quick-links {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 576px) {
    .social-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .college-logo svg {
        width: 60px;
    }
}
